package com.xingzhengfan.eurekaclient;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class MQThread implements Runnable {
    private static final Logger logger = LoggerFactory.getLogger(MQThread.class);
    private MQService mqService;
    private MQConfig info;

    public MQThread(MQService service, MQConfig info) {
        super();
        this.mqService = service;
        this.info = info;
    }
    @Override
    public void run() {
        mqService.sendMessage(info);
    }
}
